#include<iostream>
using namespace std;
#include"stack.h"

int main()
{
	Stack S;
	InitStack(S);

	isEmpty(S);

	Push_back(S, 1);
	Push_back(S, 2);
	Push_back(S, 3);

	isFull(S);
	
	ShowTop(S);

	Pop_back(S);
	Pop_back(S);

	Push_back(S, 1);
	Push_back(S, 2);
	Push_back(S, 3);

	Push_back(S, 1);
	Push_back(S, 2);
	Push_back(S, 3);

	Push_back(S, 1);
	Push_back(S, 2);
	Push_back(S, 3);

	isFull(S);

	ShowTop(S);
	
	DestroyStack(S);

	Pop_back(S);

	return 0;
}